←Select platform

Subscribe<T> Method

Summary

Allow components to register to a typed events published by other components.

Syntax

C#
VB
C++
public void Subscribe<T>( 
   EventHandler<T> onEventExecuted 
) 
  
Public Sub Subscribe(Of T As EventArgs)( _ 
   ByVal onEventExecuted As EventHandler(Of T) _ 
)  
public: 
void Subscribegeneric<typename T> 
(  
   EventHandler<T^>^ onEventExecuted 
)  
where T: EventArgs 

Parameters

onEventExecuted
A callback which will be called when the typed event is being published.

Type Parameters

T
The type of the event the component is interested in subscribing into.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly